import http from '../axios'

export default {
  getList(paramObj) {
    return http('get', '/api/song/list', paramObj)
  },
  addOrUpdate(obj) {
    return http('post', '/api/song/addOrUpdate', obj, 'json')
  },
  delete(id) {
    return http('post', '/api/song/delete', { id: id })
  },
  getDetail(id) {
    return http('get', '/api/song/getDetail', { id: id })
  }
}